home *** CD-ROM | disk | FTP | other *** search
- Date: Sat, 11 Jun 94 21:18 CDT
- From: ekl@sdf.lonestar.org (Evan K. Langlois)
- To: gem-list@world.std.com
- Subject: Cookie Jar
- Precedence: bulk
-
-
- On the subject of cookie jars, another problem with this is that it requires
- super-visor mode. MiNT really hates it when a program spends time in
- supervisor mode, although the time required to read the jar pointer is minimal
- and you only need enough time to read the pointer.
-
- If GFA Basic is incapable of doing something as simple as reading an address
- from fixed place in memory, then too damn bad. It won't be the first thing
- that I've found about GFA that rattles me. It's memory handling and the way
- it rapes the system (and I use the term quite literally, I think its a perfect
- analogy) are highly suspect and will have problems with MultiTOS.
-
- Anyway, there is a solution to both problems. Provide a GEMDOS call to
- manipulate the cookie jar. It won't require super-visor mode since it
- will be called within the GEMDOS trap (making it automatically in super-visor
- mode, so the program code won't have to bother), and GEMDOS traps can be
- called from just about ANY programming language. Unix-heads will also be
- satisfied as the cookie jar can be protected so that any program can read
- it but only privaledged programs can modify it.
-
- Expect this to be in MiNT 1.11 or 1.12 (depending on how quickly I get off
- my butt and finish it, I was almost done until I had some hard disk problems
- and so I have to go back to some somewhat buggy backup files). Of course,
- someone else may just do it before I get around to it too !!
-
- Now, I'm not sure what you were going to use the cookie jar for. It doesn't
- seem to be the place for hot-keys, and I really see no need for any sort
- of external hot-key management programs. I really don't, and if I did, I'd
- implement it with something else, using more standardized IPC than a cookie
- jar. I really don't like cookie jar stuff.
-
-